<?php
declare(strict_types=1);

return [
    [
        'type' => 'input',
        'title' => '应用市场服务器地址',
        'field' => 'market_server_url',
        'value' => 'https://apix.jd29.com',
        'props' => [
            'placeholder' => '请输入应用市场服务器地址',
        ],
        '_fc_id' => 'id_Fsfdmeegdfsrafc',
        'name' => 'ref_Fbqmmeegdfsragc',
        '_fc_drag_tag' => 'input',
        'display' => true,
        'hidden' => false,
        'info' => '应用市场服务器地址',
    ],
    [
        'type' => 'input',
        'title' => '应用市场API密钥',
        'field' => 'market_api_key',
        'props' => [
            'placeholder' => '请输入应用市场API密钥',
            'rows' => 4,
            'type' => 'textarea'
        ],
        '_fc_id' => 'id_Fjjbmeegdfsrabc',
        'name' => 'ref_Fstymeegdfsracc',
        '_fc_drag_tag' => 'input',
        'display' => true,
        'hidden' => false,
        'info' => '应用市场API密钥',
    ],
    [
        'type' => 'switch',
        'field' => 'verify_peer',
        'title' => '验证服务器证书',
        'info' => '是否验证服务器证书',
        '$required' => false,
        'props' => [
            'activeValue' => true,
            'inactiveValue' => false
        ],
        '_fc_id' => 'id_verify_peer',
        'name' => 'ref_verify_peer',
        'display' => true,
        'hidden' => false,
        '_fc_drag_tag' => 'switch',
        'value' => true
    ],
    [
        'type' => 'switch',
        'field' => 'verify_host',
        'title' => '验证主机名',
        'info' => '是否验证证书中的主机名',
        '$required' => false,
        'props' => [
            'activeValue' => true,
            'inactiveValue' => false
        ],
        '_fc_id' => 'id_verify_host',
        'name' => 'ref_verify_host',
        'display' => true,
        'hidden' => false,
        '_fc_drag_tag' => 'switch',
        'value' => true
    ]
];